#pragma once

#include <gtk/gtk.h>

G_BEGIN_DECLS

#define EVENT_TYPE_ITEM (event_item_get_type())
G_DECLARE_FINAL_TYPE(EventItem, event_item, EVENT, ITEM, GtkBox)

extern EventItem *event_item_new();

/*设置标题等信息*/
extern void event_item_set_info(EventItem  *self,
                                gint        index,
                                const char *title,
                                const char *content,
                                const char *date_no_format);

G_END_DECLS
